package com.kunlun.basedata.limit.dao;

import com.kunlun.basedata.limit.model.AuthorizeModel;
import com.kunlun.basedata.limit.model.vo.AuthorizeVo;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface IAuthorizeDao {

    public List<AuthorizeVo> getAuthorizeApplicationList(Map<String, Object> queryMap) throws Exception;

    public List<AuthorizeVo> getAuthorizeRoleList(Map<String, Object> queryMap) throws Exception;

    public List<AuthorizeVo> getAuthorizeOrganizeList(Map<String, Object> queryMap) throws Exception;

    public void addAuthorize(AuthorizeModel authorizeModel) throws Exception;

    public List<AuthorizeVo> getLimitRoleList(Map<String, Object> queryMap) throws Exception;

    public List<AuthorizeVo> getLimitCompanyList(Map<String, Object> queryMap) throws Exception;

    public List<AuthorizeVo> getLimitDepartmentList(Map<String, Object> queryMap) throws Exception;

    public List<AuthorizeVo> getLimitPostList(Map<String, Object> queryMap) throws Exception;
}
